package edu.njust.LabSystem.entity;


import java.sql.Date;

public class LabAppointment {

  private String lab;
  private String experiment;
  private java.sql.Date appoint_date;
  private int appoint_time;
  private String teacher;
  private boolean if_share;

  public LabAppointment(String lab, String experiment, Date appoint_date, int appoint_time, String teacher, boolean if_share) {
    this.lab = lab;
    this.experiment = experiment;
    this.appoint_date = appoint_date;
    this.appoint_time = appoint_time;
    this.teacher = teacher;
    this.if_share = if_share;
  }


  public LabAppointment() {
  }

  @Override
  public String toString() {
    return "LabAppointment{" +
            "lab='" + lab + '\'' +
            ", experiment='" + experiment + '\'' +
            ", appoint_date=" + appoint_date +
            ", appoint_time=" + appoint_time +
            ", teacher='" + teacher + '\'' +
            ", if_share=" + if_share +
            '}';
  }

  public String getLab() {
    return lab;
  }

  public void setLab(String lab) {
    this.lab = lab;
  }

  public String getExperiment() {
    return experiment;
  }

  public void setExperiment(String experiment) {
    this.experiment = experiment;
  }

  public Date getAppoint_date() {
    return appoint_date;
  }

  public void setAppoint_date(Date appoint_date) {
    this.appoint_date = appoint_date;
  }

  public int getAppoint_time() {
    return appoint_time;
  }

  public void setAppoint_time(int appoint_time) {
    this.appoint_time = appoint_time;
  }

  public String getTeacher() {
    return teacher;
  }

  public void setTeacher(String teacher) {
    this.teacher = teacher;
  }

  public boolean isIf_share() {
    return if_share;
  }

  public void setIf_share(boolean if_share) {
    this.if_share = if_share;
  }
}
